package com.aring.service.impl;

import java.util.ArrayList;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aring.bean.PlaceManager;
import com.aring.bean.SuperManager;
import com.aring.dao.SuperManagerDao;
import com.aring.service.SuperManagerService;
@Service("SuperManagerSerice")
public class SuperManagerServiceImpl implements SuperManagerService{
    @Autowired
	private SuperManagerDao superDao;

	
	public SuperManager selectSuperByAccount(Integer account) {
		// TODO Auto-generated method stub
		return superDao.selectSuperByAccount(account);
	}

	
	public ArrayList<PlaceManager> selectManager(Integer account) {
		// TODO Auto-generated method stub
		return superDao.selectManager(account);
	}

	
	public PlaceManager selectManagerByPm_no(Integer pm_no) {
		// TODO Auto-generated method stub
		return superDao.selectManagerByPm_no(pm_no);
	}

	
	public int updateManager(PlaceManager manager) {
		// TODO Auto-generated method stub
		return superDao.updateManager(manager);
	}

}
